package features.advance.jdk.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *  /META-INF/services目录下添加javax.annotation.processing.Processor文件
 *  ，在Processor文件中注册注解处理器
 * @author LIN
 * @date 2021-07-16
 */
@Target({ElementType.METHOD,ElementType.FIELD})
@Retention(RetentionPolicy.CLASS)
public @interface AnnotationDemo {

    public static final String default_name = "";

    String name() default default_name;
}
